package com.sunshine.wrongquestionset.activity.main

/**
 * @author sunshine
 * @date 2021/4/11
 * 搜索结果的bean
 * @param id id
 * @param type 类型 有科目 错题集 错题
 * @param description 描述
 * @param param 一些附加参数，比如type为SET时，就是subjectId
 */
data class SearchBean(
    val id: Int,
    val type: Int,
    val name: String,
    val description: String?,
    val param: Any
) {
    companion object {
        const val TYPE_SUBJECT = 1
        const val TYPE_QUESTION_SET = 2
        const val TYPE_QUESTION = 3
    }
}